#ifndef BOOK_H
#define BOOK_H

#include <QDialog>
#include<editinfo.h>
#include<caredit.h>
#include<QMessageBox>
#include <QDebug>
namespace Ui {
class book;
}

class book : public QDialog
{
    Q_OBJECT

public:
    explicit book(QWidget *parent = 0);
    ~book();

    void setuser(QString username);
    void printinfo(QString username);
signals:
    void send_show_book();
    void send_edit_flush3(QString user_id, QString name, QString flag, QString carid, QString phone, QString email, QString register_time,QString fare,QString username);
private slots:
    void on_pushButton_2_clicked();

    void on_pushButton_clicked();

private:
    Ui::book *ui;
    QString user;//记录当前用户名
};

#endif // BOOK_H
